package com.jinmdz.fmis.api.admin.model.rolerelation;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 系统角色菜单关联按钮请求数据
 *
 * @author LiCongLu
 * @date 2020-03-19 14:22
 */
@ApiModel(value = "系统角色菜单关联按钮请求数据", description = "系统角色菜单关联按钮请求数据")
public class RoleMenuButtonRelationButtonData extends BaseBean {
    /**
     * 业务系统角色主键
     */
    @AnValidate(name = "业务系统角色主键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "业务系统角色主键", name = "businessSystemRoleId", position = 1)
    private Integer businessSystemRoleId;

    /**
     * 系统菜单主键
     */
    @AnValidate(name = "系统菜单主键", required = true, code = EValidateCode.GREATER_ZERO)
    @ApiModelProperty(value = "系统菜单主键", name = "businessSystemMenuId", position = 2)
    private Integer businessSystemMenuId;

    /**
     * 菜单按钮主键
     */
    @AnValidate(name = "菜单按钮主键", required = true, code = EValidateCode.GREATER_ZERO)
    @ApiModelProperty(value = "菜单按钮主键", name = "businessSystemMenuButtonId", position = 3)
    private Integer businessSystemMenuButtonId;

    public Integer getBusinessSystemRoleId() {
        return businessSystemRoleId;
    }

    public RoleMenuButtonRelationButtonData setBusinessSystemRoleId(Integer businessSystemRoleId) {
        this.businessSystemRoleId = businessSystemRoleId;
        return this;
    }

    public Integer getBusinessSystemMenuId() {
        return businessSystemMenuId;
    }

    public RoleMenuButtonRelationButtonData setBusinessSystemMenuId(Integer businessSystemMenuId) {
        this.businessSystemMenuId = businessSystemMenuId;
        return this;
    }

    public Integer getBusinessSystemMenuButtonId() {
        return businessSystemMenuButtonId;
    }

    public RoleMenuButtonRelationButtonData setBusinessSystemMenuButtonId(Integer businessSystemMenuButtonId) {
        this.businessSystemMenuButtonId = businessSystemMenuButtonId;
        return this;
    }
}
